﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 部门表
    /// </summary>
    public partial class TbDicDeptExtBak
    {
        /// <summary>
        /// 部门id
        /// </summary>
        public int Deptid { get; set; }
        /// <summary>
        /// 部门编码
        /// </summary>
        public string Deptcode { get; set; } = null!;
        /// <summary>
        /// 编码
        /// </summary>
        public string? Code { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string Deptname { get; set; } = null!;
        /// <summary>
        /// 上级编码
        /// </summary>
        public string? Parentcode { get; set; }
        /// <summary>
        /// 输入码1
        /// </summary>
        public string? Inputcode1 { get; set; }
        /// <summary>
        /// 输入码2
        /// </summary>
        public string? Inputcode2 { get; set; }
        /// <summary>
        /// 确认部门编码
        /// </summary>
        public string? Insuredeptcode { get; set; }
        /// <summary>
        /// 记录部门编码
        /// </summary>
        public string? Recorddeptcode { get; set; }
        /// <summary>
        /// 是否可访问
        /// </summary>
        public int? Isvisit { get; set; }
        /// <summary>
        /// 部门电话
        /// </summary>
        public string? Deptphone { get; set; }
        /// <summary>
        /// 部门类别编码
        /// </summary>
        public string? Deptclasscode { get; set; }
        /// <summary>
        /// 是否特殊标记
        /// </summary>
        public int? Isspecial { get; set; }
        public int? Isvirtual { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public string? Order { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public string? Hospitalcode { get; set; }
        /// <summary>
        /// 药品种类
        /// </summary>
        public int? Drugtype { get; set; }
        /// <summary>
        /// 创建Id
        /// </summary>
        public int? Createid { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? Createdate { get; set; }
        /// <summary>
        /// 修改id
        /// </summary>
        public int? Updateid { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? Updatedate { get; set; }
        /// <summary>
        /// 移除id
        /// </summary>
        public int? Removedid { get; set; }
        /// <summary>
        /// 移除时间
        /// </summary>
        public DateTime? Removeddate { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int Isdeleted { get; set; }
        /// <summary>
        /// 是否长期
        /// </summary>
        public int Lang { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? ExtRemark { get; set; }
        /// <summary>
        /// 部门类型
        /// </summary>
        public int? DeptType { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
        public string Czlx { get; set; } = null!;
    }
}
